//
//  PickerViewControllerDelegate.swift
//  WZSales
//
//  Created by xiaobin liu on 2020/8/14.
//

import UIKit


/// MARK - PickerViewControllerDelegate
public protocol JWPickerViewControllerDelegate: NSObjectProtocol {
    
    /// 选中索引
    ///
    /// - Parameters:
    ///   - contentView: contentView description
    ///   - row: row description
    ///   - component: component description
    func pickerContentView(_ contentView: JWPickerViewController, didSelectRow row: Int, inComponent component: Int)
    
    /// 确定
    ///
    /// - Parameter contentView: contentView description
    func pickerConfirm(_ contentView: JWPickerViewController)
    
    /// 取消
    ///
    /// - Parameter contentView: contentView description
    func pickerCancel(_ contentView: JWPickerViewController)
}

